<template>
  <div class="indexBox" :style="{height:winHeight}">
    <img src="/static/image/title.png" class="indexTitle" alt="">
    <img  src="/static/image/banner.png" class="indexBanner animated swing" alt="">
    <a @click.stop="gotoCs">
      <img src="/static/image/btn.png" alt="">
    </a>
  </div>
</template>

<script>
import router from '../router/index'
  export default {
    name: "HelloWorld",
    data() {
      return {
        msg: "Welcome to Your Vue.js App",
        winHeight:$(window).innerHeight()+ 'px'
      };
    },
    methods:{
      gotoCs:function(){
router.push({path:'/Page1'})
      }
    }
  };
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
